$(function () {
    var mqtt_content = server.getCache('mqtt_content');
    mqtt_content = JSON.parse(mqtt_content);
    console.log(mqtt_content);
    var groups = mqtt_content.groups;
    server.loadData(".mqtt",mqtt_content);
    // groups.forEach(function (item, index) {
    //     console.log(item.groupname);
    // })
})